package com.guet.niit.Admin.pojo;

public class Charging {

    private String city;//充电站归属城市
    private Long id;//充电站id

    private String station_name;//充电站名称

    private String address;//地址

    private Long agent_id;//归属代理商Id

    private String station_details;

    private Double parking_fee;//停车费

    private Integer have_parking_fee;//有无停车费

    private Double status;//充电站状态 1为启用 / 0为禁用

    private Double rent;//租金



    public Charging() {

    }

    public Charging(String city, Long id, String station_name,Long agent_id,String address,
                    String station_details,Double parking_fee,Integer have_parking_fee,Double status,Double rent) {
        this.city = city;
        this.id = id;
        this.station_name = station_name;
        this.agent_id=agent_id;
        this.address=address;
        this.station_details=station_details;
        this.parking_fee=parking_fee;
        this.have_parking_fee=have_parking_fee;
        this.status=status;
        this.rent=rent;
    }

//    public Charging(String station_name, Long id, String city, String address,
//                    Long agent_id,String station_details,Double parking_fee,Double have_parking_fee,Double status ,Double rent) {
//
//    }


    public String getCity() {
        return this.city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStation_name() {
        return this.station_name;
    }

    public void setStation_name(String station_name) {
        this.station_name = station_name;
    }

    public String getAddress(){ return this.address;}

    public void setAddress(String address){this.address = address;}

    public Long getAgent_id(){return this.agent_id;}

    public void setAgent_id(Long agent_id) {
        this.agent_id = agent_id;
    }

    public String getStation_details() {
        return station_details;
    }

    public void setStation_details(String station_details) {
        this.station_details = station_details;
    }


    public Double getParking_fee() {
        return parking_fee;
    }

    public void setParking_fee(Double parking_fee) {
        this.parking_fee = parking_fee;
    }

    public Integer getHave_parking_fee(){
        return have_parking_fee;
    }

    public void setHave_parking_fee(Integer have_parking_fee) {
        this.have_parking_fee = have_parking_fee;
    }

    public Double getRent() {
        return rent;
    }

    public void setRent(Double rent) {
        this.rent = rent;
    }

    public Double getStatus() {
        return status;
    }

    public void setStatus(Double status) {
        this.status = status;
    }



    //快捷键Alt+insert 选to String()


    @Override
    public String toString() {
        return "Charging{" +
                "city='" + city + '\'' +
                ", id=" + id +
                ", station_name='" + station_name + '\'' +
                ", address='" + address + '\'' +
                ", agent_id=" + agent_id +
                ", station_details='" + station_details + '\'' +
                ", parking_fee=" + parking_fee +
                ", have_parking_fee=" + have_parking_fee +
                ", status=" + status +
                ", rent=" + rent +
                '}';
    }
}
